package com.yyfax.pay.common.enums;

public enum OperationEnum {
	AUTO(0, "自动"),

	MAN_MADE(1, "人工");

	private Integer value;
	private String name;

	OperationEnum(Integer value, String name) {
		this.value = value;
		this.name = name;
	}

	public Integer getValue() {
		return value;
	}

	public String getName() {
		return name;
	}

	public static com.yyfax.pay.common.enums.BusiTypeEnum form(Integer value) {
		for (com.yyfax.pay.common.enums.BusiTypeEnum busiTypeEnum : com.yyfax.pay.common.enums.BusiTypeEnum.values()) {
			if (busiTypeEnum.getValue().intValue() == value.intValue()) {
				return busiTypeEnum;
			}
		}
		return null;
	}
}
